import java.util.ArrayList;
import java.util.List;

public class OrderSelectionStrategy implements PaperSelectionStrategy {
    @Override
    public List<Paper> selectPapers(List<Paper> availablePapers, int quantity) {
        return new ArrayList<>(availablePapers.subList(0, Math.min(quantity, availablePapers.size())));
    }
}    